<template>
  <div>
    <p>path+query参数{{$route.query}}</p>
    <p>name+params参数{{$route.params}}</p>
    <p>动态params参数{{$route.params}}</p>
    <!-- 底部栏 -->
    <Footer/>
  </div>
</template>

<script>
//导入底部导航栏
import Footer from '@/components/Footer.vue';

export default {
    //注册组件
    components: {
        Footer,
    },
    created(){
      console.log(this.$route.query)
      console.log(this.$route.params)
      console.log(this.$route.params)
    }
}
</script>

<style>

</style>